<?php

namespace App\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * TkSmsTemplate
 *
 * @ORM\Table(name="tk_sms_template", indexes={@ORM\Index(name="vcc_index", columns={"vcc_id"})})
 * @ORM\Entity
 */
class TkSmsTemplate
{
    /**
     * @var int
     *
     * @ORM\Column(name="id", type="integer", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $id;

    /**
     * @var int
     *
     * @ORM\Column(name="vcc_id", type="integer", nullable=false, options={"comment"="企业ID"})
     */
    private $vccId = '0';

    /**
     * @var string
     *
     * @ORM\Column(name="vcc_code", type="string", length=150, nullable=false, options={"comment"="企业代码"})
     */
    private $vccCode = '';

    /**
     * @var string
     *
     * @ORM\Column(name="template_name", type="string", length=200, nullable=false, options={"comment"="模板名称"})
     */
    private $templateName = '';

    /**
     * @var string
     *
     * @ORM\Column(name="template_contents", type="text", length=0, nullable=false, options={"comment"="模板内容"})
     */
    private $templateContents;

    /**
     * @var string
     *
     * @ORM\Column(name="template_contents_pure", type="text", length=0, nullable=false, options={"comment"="模板内容无后缀"})
     */
    private $templateContentsPure;

    /**
     * @var int
     *
     * @ORM\Column(name="verify_result", type="smallint", nullable=false, options={"comment"="审核结果（0草稿1审核中2审核通过3审核未通过）"})
     */
    private $verifyResult = '0';

    /**
     * @var string
     *
     * @ORM\Column(name="verify_fail_reason", type="string", length=255, nullable=false, options={"comment"="审核失败原因"})
     */
    private $verifyFailReason = '';

    /**
     * @var int
     *
     * @ORM\Column(name="create_user_id", type="integer", nullable=false, options={"comment"="创建人ID"})
     */
    private $createUserId = '0';

    /**
     * @var string
     *
     * @ORM\Column(name="create_user_name", type="string", length=150, nullable=false, options={"comment"="创建人名称"})
     */
    private $createUserName = '';

    /**
     * @var int
     *
     * @ORM\Column(name="create_time", type="integer", nullable=false, options={"comment"="创建时间"})
     */
    private $createTime = '0';

    /**
     * @var int
     *
     * @ORM\Column(name="update_user_id", type="integer", nullable=false, options={"comment"="修改人ID"})
     */
    private $updateUserId = '0';

    /**
     * @var string
     *
     * @ORM\Column(name="update_user_name", type="string", length=150, nullable=false, options={"comment"="修改人名称"})
     */
    private $updateUserName = '';

    /**
     * @var int
     *
     * @ORM\Column(name="update_time", type="integer", nullable=false, options={"comment"="修改时间"})
     */
    private $updateTime = '0';

    /**
     * @var int
     *
     * @ORM\Column(name="verify_user_id", type="integer", nullable=false, options={"comment"="审核人ID"})
     */
    private $verifyUserId;

    /**
     * @var string
     *
     * @ORM\Column(name="verify_user_name", type="string", length=150, nullable=false, options={"comment"="审核人名称"})
     */
    private $verifyUserName;

    /**
     * @var int
     *
     * @ORM\Column(name="verify_time", type="integer", nullable=false, options={"comment"="审核时间"})
     */
    private $verifyTime;


}
